package com.xdcplus.web.common.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class GetToolByWoCodeAndOpeAndUnitTypeDto {
    @ApiModelProperty(value = "工序Code")
    @NotEmpty(message = "工序Code不能为空")
    private String opeCode;
    @ApiModelProperty(value = "查询的设备类型(MAIN:主设备,SUB:子设备)")
    private String unitType;
    @ApiModelProperty(value = "设备ID")
    @NotNull(message = "设备ID不能为空")
    private Long woIdFk;
}
